<!DOCTYPE html>
<html>
<head>
<base href="${basePath}">
<meta charset="UTF-8">
<title>产品查询</title> 
$!{include("import_js_css.html")} 
$!{include("import_tab_switch.html")}
</head>
<body>
	$!{include("header.html")}
	<div class="container menu_all">
		<div class="tabbable tabs-left panel-db-cdt" id="div_ul_tab">
			$!{include("tab.html")}
			<div class="tab-content panel-radius-search-all panel-search">
				<div class="tab-pane active panel-search-cdts" id="panel-product">$!{include("product_conditions.html")}</div>
			</div>
		</div>
		<div class="div_search_result clear">$!{include("product_list.html")}</div>
	</div>
</body>
<script>
function documentReady(){
	/**产品添加或修改成功**/
	var msg = '${msg}';
	if (msg == 'cps') {
		window.location.href="yueyogaAdmin/searchProducts.jhtml?index=productList";
	}
	 if (msg == 'xps') {
			window.location.href="yueyogaAdmin/searchProducts.jhtml?index=productList";
	}
}
	$(function() {
		//提交查询表单
		$("#btn_pc_search").click(function() {
			var order = !$("#div_orders").is(":hidden");
			var val = "1";
			if (order) {
				val = "2";
			}
			$("#hidSearchType").val(val);
		});
	});
</script>
</html>